package com.hdu;

import java.text.SimpleDateFormat;

public class TimeUtils {

    private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    public static void printCurTime() {
        String curTimeStr = sdf.format(System.currentTimeMillis());
        System.out.println(curTimeStr);
    }
}
